<?php
session_start();
if(isset($_SESSION['uname'])){
	if($_SESSION['state']==1){
		header("location:/user/");
	}
}
include(str_replace( '\\' , '/' , realpath(dirname(__FILE__).'/'))."/compile/index/index_template.php");
$tpl = new Template(array('debug' => true));
$tpl->show('login');
?>